/**
 * User: alesj
 * Date: 10.1.2006
 * Time: 18:12:46
 * 
 * (C) Genera Lynx d.o.o.
 */

package com.alesj.blueberry.sar.smpp;

import ie.omk.smpp.Connection;

/**
 * SMPP service interface.
 * Used with other smpp components.
 *
 * @author <a href="mailto:ales.justin@genera-lynx.com">Ales Justin</a>
 */
public interface SMPPService {

    /**
     * @return connectoion to smsc
     */
    Connection getConnection();

    PingDeamon getPingDeamon();

    void setPingDeamon(PingDeamon smppPingDeamon);

    void connect() throws Exception;

    void notifyOfFailure(Throwable t);

    void disconnect() throws Exception;

}
